package com.houtai.bean.dto.resume;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@ApiModel(value="添加编辑工作经历所需参数", description="添加编辑工作经历所需参数")
public class TdJobExperienceInsertDto {
    @ApiModelProperty(value="工作经历id  编辑时修改需上传 新增传0", name="job_experience_id")
    private int job_experience_id;

    @NotEmpty(message = "公司名称不能为空")
    @Length(max = 100, message = "公司名称最多100个字符")
    @ApiModelProperty(value="公司名称", name="company_name", example = "杭州某某科技公司")
    private String company_name;

    @NotNull(message = "所属行业id不能为空")
    @ApiModelProperty(value="所属行业id", name="industry_id", example = "35")
    private int industry_id;

    @NotNull(message = "所属部门id不能为空")
    @ApiModelProperty(value="所属部门id", name="department_id", example = "37")
    private int department_id;

    @NotNull(message = "职位名称id不能为空")
    @ApiModelProperty(value="职位名称id", name="jobs_id", example = "32")
    private int jobs_id;

    @NotNull(message = "职位类型id不能为空")
    @ApiModelProperty(value="职位类型id", name="profession_id", example = "22")
    private int profession_id;

    @NotEmpty(message = "工作开始时间不能为空")
    @Length(max = 7, message = "工作开始时间最多7个字符")
    @ApiModelProperty(value="工作开始时间  yyyy-MM", name="start_time", example = "2010-01")
    private String start_time;

    @NotEmpty(message = "工作结束时间不能为空")
    @Length(max = 7, message = "工作结束时间最多7个字符")
    @ApiModelProperty(value="工作结束时间  yyyy-MM", name="end_time", example = "2020-01")
    private String end_time;

    @NotEmpty(message = "技能标签id")
    @ApiModelProperty(value="技能标签id以,分隔 最多三个", name="skills_label_id", example = "43，44")
    private String skills_label_id;

    @NotEmpty(message = "工作内容不能为空")
    @Length(max = 2000, message = "工作内容最多2000个字符")
    @ApiModelProperty(value="工作内容", name="job_content", example = "；就六块腹肌大；联发科骄傲积分的；发达")
    private String job_content ;

    public int getJob_experience_id() {
        return job_experience_id;
    }

    public void setJob_experience_id(int job_experience_id) {
        this.job_experience_id = job_experience_id;
    }

    public String getCompany_name() {
        return company_name;
    }

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public int getIndustry_id() {
        return industry_id;
    }

    public void setIndustry_id(int industry_id) {
        this.industry_id = industry_id;
    }

    public int getDepartment_id() {
        return department_id;
    }

    public void setDepartment_id(int department_id) {
        this.department_id = department_id;
    }

    public int getJobs_id() {
        return jobs_id;
    }

    public void setJobs_id(int jobs_id) {
        this.jobs_id = jobs_id;
    }

    public int getProfession_id() {
        return profession_id;
    }

    public void setProfession_id(int profession_id) {
        this.profession_id = profession_id;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getSkills_label_id() {
        return skills_label_id;
    }

    public void setSkills_label_id(String skills_label_id) {
        this.skills_label_id = skills_label_id;
    }

    public String getJob_content() {
        return job_content;
    }

    public void setJob_content(String job_content) {
        this.job_content = job_content;
    }
}
